﻿using OpenAuth.Repository.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 物料
    /// </summary>
  [Table("MST_MATECODE")]
    public class MST_MATECODE:Entity
    {
        public MST_MATECODE() {
            this.Mate_Code = string.Empty;
            this.CNV_RATE = 1.000;
        }
        /// <summary>
        /// 物项编码
        /// </summary>
        [Column("MATE_CODE"),Description("物项编码")]
        public string Mate_Code { get; set; }
        /// <summary>
        /// 物项名称
        /// </summary>
        [Column("MATE_DESCR"), Description("物项名称")]
        public string Mate_Descr{ get; set; }
        /// <summary>
        /// 型号规格
        /// </summary>
        [Column("SPEC"),Description("型号规格")]
        public string Spec { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        [Description("类别"),Column("TYPE_ID")]
        public string TYPE_ID { get; set; }
     /// <summary>
     /// 
     /// </summary>
        [Description("计量单位")]
        public string UNIT { get; set; }
        [Description("计价单位")]
        public string UNIT_P { get; set; }
        
            [Description("换算比率")]
        public double CNV_RATE { get; set; }	
        [Column("ISNODE"),Description("是否节点")]
        public string IsNode { get; set; }
        /*
 DIM1
NOMINAL_SIZE
DIM2
NOMINAL_SIZE2
THK1
SCH_A
THK2
SCH_B
TEXTURE
TEXTUREKIND
MECH_PROPT
PN
PRE_CLS
UNIT
UNIT_P
CNV_RATE
ISNODE
PIECE_WT
NS_CLASS
QA_CLASS
STAND_NO
COLOR_NAME
MATE_DESCR_EN
IS_MEAS
LOG_PRICE
MIN_STK
MAX_STK
TYPE_ID
POWER
CAPACITY
MF_CRAFT
EXTREMITY
EQK_RESIST_GRAD
MATCD_CST
NEW_PRICE
MATE_PLACE
DESIGN_NO
LRCM
KKS
BASECODE
IS_AVAIL
ABND_COE
RVS_COE
UNIT_AREA
IF_PIPE_MATE
PDMS
PRO_NO
MATEGRADE
QC_CLASS
FUNC_CLASS
AESTANDS
HTXH_COEFFICIENT
PLANPRICE
REMARK
PROJ_CODE
ENGINEERING_CODE
REACTORTYPE
FOUND_MAN
FOUND_DATE
MODIF_MAN
LAST_MODIF_DATE
COMP_CODE
DEPT_CODE
ORG_FULLCODE
ORG_ID
DELETE_YN
DELETE_TIME
RESCTYPE
FLOWTYPE
BARCODE
PICTURE
BIGTYPE
SPEC1
SPEC2
FINCODE
PURCHDAYS
JGFD
RCCM_M
BRAND_M
PMP_M
FACTORY_M
PIPE_LENGTH_M
MATEMARK_M
FUN_NO_MATE_M
GENERATE_UNIT_M
PIECE_WT_TWO_M
SFFY_M
PRICE_PROPERTY_M
IS_ZEROSTOCK_M
ATTRIBUTE_M
EGHC_M
ATTRIBUTE
MATE_CODEDF
COVER

         */
    }
}
